/* =========================================
   GLOBAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #263a36;
    line-height: 1.6;
}

img {
    display: block;
    width: 100%;
}

a {
    text-decoration: none;
}

button {
    font-family: inherit;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    width: 100%;
    background: #024b40;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-container {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.logo span {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo strong {
    font-size: 1rem;
}

.logo small {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.72rem;
}


/* DESKTOP NAV */

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.desktop-nav a {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 500;
}

.desktop-nav a:hover {
    color: #f68221;
}


/* NAV ACTIONS */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* =========================================
   BUTTONS
========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 19px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: 0.2s ease;
}

.btn-light {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-light:hover {
    background: #ffffff;
    color: #024b40;
}

.btn-orange {
    background: #f68221;
    color: #ffffff;
}

.btn-orange:hover {
    background: #db6e13;
}

.btn-outline {
    color: #024b40;
    border: 1px solid #024b40;
}

.btn-outline:hover {
    background: #024b40;
    color: #ffffff;
}


/* =========================================
   MOBILE MENU BUTTON
========================================= */

.menu-btn {
    display: none;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 1.7rem;
    cursor: pointer;
}


/* =========================================
   MOBILE MENU
========================================= */

.menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 998;
}

.menu-overlay.active {
    display: block;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85%;
    height: 100vh;
    padding: 25px;
    background: #ffffff;
    z-index: 999;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.12);
    transition: right 0.25s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.menu-close {
    border: none;
    background: transparent;
    color: #024b40;
    font-size: 1.6rem;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    color: #024b40;
    border-bottom: 1px solid #eeeeee;
    font-weight: 600;
}

.mobile-nav a:hover {
    color: #f68221;
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 25px;
}


/* =========================================
   PAGE HERO
========================================= */

.page-hero {
    padding: 80px 0;
    background: #f4f8f6;
}

.page-hero-content {
    max-width: 850px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 30px;
    color: #024b40;
    font-size: 0.9rem;
    font-weight: 700;
}

.back-link:hover {
    color: #f68221;
}

.section-label {
    display: inline-block;
    color: #f68221;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.page-hero h1 {
    margin: 13px 0 20px;
    color: #024b40;
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.12;
}

.page-hero h1 span {
    color: #f68221;
}

.page-hero p {
    max-width: 700px;
    color: #61716d;
    font-size: 1.05rem;
}


/* =========================================
   NEWS PAGE
========================================= */

.news-page {
    padding: 80px 0;
}

.news-category-section {
    margin-bottom: 90px;
}

.news-category-section:last-child {
    margin-bottom: 0;
}


/* =========================================
   SECTION HEADING
========================================= */

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 35px;
}

.section-heading h2 {
    margin-top: 10px;
    color: #024b40;
    font-size: 2.1rem;
    line-height: 1.25;
}

.section-heading > p {
    max-width: 430px;
    color: #65746f;
    font-size: 0.95rem;
}


/* =========================================
   NEWS GRID
========================================= */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


/* =========================================
   NEWS CARD
========================================= */

.news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dfe8e5;
    border-radius: 12px;
}

.news-card-image {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-tag {
    position: absolute;
    left: 15px;
    bottom: 15px;
    padding: 6px 10px;
    background: #024b40;
    color: #ffffff;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
}

.event-tag {
    background: #f68221;
}


/* =========================================
   NEWS CARD CONTENT
========================================= */

.news-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 25px;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    color: #f68221;
    font-size: 0.82rem;
    font-weight: 700;
}

.news-card h3 {
    margin-bottom: 13px;
    color: #024b40;
    font-size: 1.2rem;
    line-height: 1.4;
}

.news-card p {
    margin-bottom: 20px;
    color: #65746f;
    font-size: 0.91rem;
    line-height: 1.7;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    color: #024b40;
    font-size: 0.9rem;
    font-weight: 800;
}

.read-more:hover {
    color: #f68221;
}

.read-more i {
    font-size: 1rem;
}


/* =========================================
   EMPTY MESSAGE
========================================= */

.empty-message {
    max-width: 650px;
    margin: 0 auto;
    padding: 55px 30px;
    text-align: center;
    background: #f5f9f7;
    border: 1px solid #e0e9e6;
    border-radius: 12px;
}

.empty-message > i {
    color: #f68221;
    font-size: 2.5rem;
}

.empty-message h3 {
    margin: 15px 0 8px;
    color: #024b40;
    font-size: 1.35rem;
}

.empty-message p {
    color: #667570;
    font-size: 0.92rem;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    padding: 40px 0;
    background: #024b40;
    color: #ffffff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer strong {
    font-size: 1rem;
}

.footer p {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .desktop-nav {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .nav-container {
        min-height: 70px;
    }

    .logo img {
        width: 42px;
        height: 42px;
    }

    .page-hero {
        padding: 55px 0;
    }

    .page-hero h1 {
        font-size: 2.25rem;
    }

    .page-hero p {
        font-size: 0.95rem;
    }

    .news-page {
        padding: 55px 0;
    }

    .news-category-section {
        margin-bottom: 65px;
    }

    .section-heading {
        display: block;
        margin-bottom: 28px;
    }

    .section-heading h2 {
        font-size: 1.75rem;
    }

    .section-heading > p {
        margin-top: 12px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-card-image {
        height: 220px;
    }

    .news-card-content {
        padding: 22px;
    }

    .empty-message {
        padding: 40px 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

}